package ooday01.homework3;

public class CarTest {
    public static void main(String[] args) {
        Car car1=new Car();
        car1.brand="二八大杠";
        car1.color="黑色";
        car1.price=2000000.0;
        car1.start();
        car1.carRun();
        car1.carStop();

        Car car2=new Car("AE86","粉红",8000000.0);
        car2.carRun();
        car2.carStop();
        car2.start();
    }
}
